package com.ebookstore.struts.form;

import com.ebookstore.dto.Order;

public class OrderForm extends BaseActionForm {
	private Order order;//订单对象

	private boolean shippingAddressRequired;//是否需要输入地址

	private boolean confirmed;//是否订单已确认
	private String shipaddress;//发货地址
	private String shipcity;//发货城市
	private String shiptoname;//发货人

	public OrderForm() {
		this.order = new Order();
		this.shippingAddressRequired = false;
		this.confirmed = false;
	}

	public boolean isConfirmed() {
		return confirmed;
	}

	public void setConfirmed(boolean confirmed) {
		this.confirmed = confirmed;
	}

	public Order getOrder() {
		return order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	public boolean isShippingAddressRequired() {
		return shippingAddressRequired;
	}

	public void setShippingAddressRequired(boolean shippingAddressRequired) {
		this.shippingAddressRequired = shippingAddressRequired;
	}

	public String getShipaddress() {
		return shipaddress;
	}

	public void setShipaddress(String shipaddress) {
		this.shipaddress = shipaddress;
	}

	public String getShipcity() {
		return shipcity;
	}

	public void setShipcity(String shipcity) {
		this.shipcity = shipcity;
	}

	public String getShiptoname() {
		return shiptoname;
	}

	public void setShiptoname(String shiptoname) {
		this.shiptoname = shiptoname;
	}
	

}
